<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>贪吃蛇</title>
</head>

<body>
  <div id="main">
    <div id="stage">
      <!-- 蛇 -->
      <div id="snake">
        <div class="snake-body"></div>
        <!-- <div class="snake-body"></div> -->
      </div>
      <!-- 设置食物 -->
      <div id="food"></div>
    </div>
    <div id="score-panel">
      <div>分数: <span id='score'>0</span>分</div>
      <div>等级: <span id='level'>1</span>级</div>
    </div>
  </div>
  <div id="desc">
    <div class="start mt10">开始：按s键</div>
    <div class="stop mt10">暂停：按p键</div>
    <div class="continue mt10">继续：按c键</div>
    <div class="direction mt10">蛇运动的方向：按上下左右键</div>
  </div>
</body>

</html>